﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VMDS.Business.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VMDS.Business.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfTask">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Task" nillable="true" type="tns:Task" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTask" nillable="true" type="tns:ArrayOfTask" />
  <xs:complexType name="Task">
    <xs:sequence>
      <xs:element minOccurs="0" name="ClientPCId" type="xs:int" />
      <xs:element minOccurs="0" name="Completed" type="xs:boolean" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ExpDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="IsManual" type="xs:boolean" />
      <xs:element minOccurs="0" name="Priority" nillable="true" type="tns:TaskPriority" />
      <xs:element minOccurs="0" name="State" nillable="true" type="tns:TaskState" />
      <xs:element minOccurs="0" name="VMId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Task" nillable="true" type="tns:Task" />
  <xs:complexType name="TaskPriority">
    <xs:sequence>
      <xs:element minOccurs="0" name="EnumValue" type="tns:TaskPriorities" />
      <xs:element minOccurs="0" name="Value" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TaskPriority" nillable="true" type="tns:TaskPriority" />
  <xs:simpleType name="TaskPriorities">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Low" />
      <xs:enumeration value="Medium" />
      <xs:enumeration value="High" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TaskPriorities" nillable="true" type="tns:TaskPriorities" />
  <xs:complexType name="TaskState">
    <xs:sequence>
      <xs:element minOccurs="0" name="EnumValue" type="tns:TaskStates" />
      <xs:element minOccurs="0" name="Value" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TaskState" nillable="true" type="tns:TaskState" />
  <xs:simpleType name="TaskStates">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Created" />
      <xs:enumeration value="InProcess" />
      <xs:enumeration value="Cancelled" />
      <xs:enumeration value="Completed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TaskStates" nillable="true" type="tns:TaskStates" />
  <xs:complexType name="ArrayOfVM">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="VM" nillable="true" type="tns:VM" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfVM" nillable="true" type="tns:ArrayOfVM" />
  <xs:complexType name="VM">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OSId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="SubjectId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Version" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VM" nillable="true" type="tns:VM" />
  <xs:complexType name="ArrayOfOS">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OS" nillable="true" type="tns:OS" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOS" nillable="true" type="tns:ArrayOfOS" />
  <xs:complexType name="OS">
    <xs:sequence>
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Version" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="OS" nillable="true" type="tns:OS" />
  <xs:complexType name="ArrayOfClientPC">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ClientPC" nillable="true" type="tns:ClientPC" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfClientPC" nillable="true" type="tns:ArrayOfClientPC" />
  <xs:complexType name="ClientPC">
    <xs:sequence>
      <xs:element minOccurs="0" name="IP" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ClientPC" nillable="true" type="tns:ClientPC" />
</xs:schema>